[INFO] cloning repository https://github.com/thunderseethe/mira
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thunderseethe/mira" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthunderseethe%2Fmira", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthunderseethe%2Fmira'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7c7ca1b3178c4ea9d477d097a7b334c04a2089a6
[INFO] fixing thunderseethe/mira against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthunderseethe%2Fmira" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/thunderseethe/mira
[INFO] finished tweaking git repo https://github.com/thunderseethe/mira
[INFO] tweaked toml for git repo https://github.com/thunderseethe/mira written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thunderseethe/mira on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thunderseethe/mira already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `symare` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 31750633ea644e0498f7572fb0cef65cbf23c6b74dcc3733d77c93f894698d83
[INFO] running `Command { std: "docker" "start" "31750633ea644e0498f7572fb0cef65cbf23c6b74dcc3733d77c93f894698d83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "31750633ea644e0498f7572fb0cef65cbf23c6b74dcc3733d77c93f894698d83" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31750633ea644e0498f7572fb0cef65cbf23c6b74dcc3733d77c93f894698d83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "31750633ea644e0498f7572fb0cef65cbf23c6b74dcc3733d77c93f894698d83" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `symare` (manifest) generated 1 warning
[INFO] [stderr]    Compiling bitflags v1.0.3
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]    Compiling cc v1.0.18
[INFO] [stderr]     Checking lazy_static v1.0.2
[INFO] [stderr]    Compiling cfg-if v0.1.4
[INFO] [stderr]     Checking rand_core v0.2.1
[INFO] [stderr]    Compiling pkg-config v0.3.12
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling log v0.4.3
[INFO] [stderr]     Checking stable_deref_trait v1.1.0
[INFO] [stderr]     Checking smallvec v0.6.3
[INFO] [stderr]     Checking owning_ref v0.3.3
[INFO] [stderr]     Checking byteorder v1.2.3
[INFO] [stderr]     Checking lock_api v0.1.3
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking rand v0.5.4
[INFO] [stderr]     Checking nix v0.11.0
[INFO] [stderr]    Compiling x11-dl v2.18.0
[INFO] [stderr]     Checking memmap v0.6.2
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking errno v0.2.4
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking parking_lot_core v0.2.14
[INFO] [stderr]    Compiling wayland-scanner v0.20.11
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]     Checking parking_lot v0.6.3
[INFO] [stderr]     Checking tempfile v3.0.3
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]    Compiling wayland-client v0.20.11
[INFO] [stderr]    Compiling wayland-protocols v0.20.11
[INFO] [stderr]     Checking wayland-sys v0.20.11
[INFO] [stderr]    Compiling gl v0.10.0
[INFO] [stderr]    Compiling glutin v0.17.0
[INFO] [stderr]     Checking wayland-commons v0.20.11
[INFO] [stderr]     Checking smithay-client-toolkit v0.2.6
[INFO] [stderr]     Checking winit v0.16.2
[INFO] [stderr]     Checking symare v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2015 edition to 2018
[INFO] [stderr]        Fixed src/tty.rs (1 fix)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.93s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.17.0, winit v0.16.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr] crater-edition-check: symare v0.1.0 (/opt/rustwide/workdir) updating edition from 2015 to 2018
[INFO] [stderr]     Checking symare v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `OsStr`
[INFO] [stdout]  --> src/tty.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ffi::{CStr, OsStr};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/tty.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/tty.rs:138:56
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead
[INFO] [stdout]    --> src/tty.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |     builder.before_exec(move || {
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OsStr`
[INFO] [stdout]  --> src/tty.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ffi::{CStr, OsStr};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/tty.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_count`
[INFO] [stdout]   --> src/main.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Ok(read_count) => {
[INFO] [stdout]    |                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/tty.rs:138:56
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_window` is never used
[INFO] [stdout]   --> src/main.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn test_window() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_should_exit` is never used
[INFO] [stdout]   --> src/tty.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn process_should_exit() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `passwd`, `uid`, `gid`, and `gecos` are never read
[INFO] [stdout]    --> src/tty.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct Passwd<'a> {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 122 |     name: &'a str,
[INFO] [stdout] 123 |     passwd: &'a str,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 124 |     uid: libc::uid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 125 |     gid: libc::gid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 126 |     gecos: &'a str,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Passwd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_args` is never used
[INFO] [stdout]   --> src/data.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> Shell<'a> {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn new_with_args<S>(program: S, args: Vec<String>) -> Shell<'a>
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/tty.rs:39:53
[INFO] [stdout]    |
[INFO] [stdout] 39 |             die!("Waiting for pid {} failed: {}\n", PID, errno());
[INFO] [stdout]    |                                                     ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tty.rs:136:22
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `passwd` does not permit being left uninitialized
[INFO] [stdout]    --> src/tty.rs:138:44
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/tty.rs:254:47
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 libc::signal(SIGCHLD, sigchld as _);
[INFO] [stdout]     |                                               ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 libc::signal(SIGCHLD, sigchld as *const () as _);
[INFO] [stdout]     |                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead
[INFO] [stdout]    --> src/tty.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |     builder.before_exec(move || {
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_count`
[INFO] [stdout]   --> src/main.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Ok(read_count) => {
[INFO] [stdout]    |                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_window` is never used
[INFO] [stdout]   --> src/main.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn test_window() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_should_exit` is never used
[INFO] [stdout]   --> src/tty.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn process_should_exit() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `passwd`, `uid`, `gid`, and `gecos` are never read
[INFO] [stdout]    --> src/tty.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct Passwd<'a> {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 122 |     name: &'a str,
[INFO] [stdout] 123 |     passwd: &'a str,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 124 |     uid: libc::uid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 125 |     gid: libc::gid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 126 |     gecos: &'a str,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Passwd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_args` is never used
[INFO] [stdout]   --> src/data.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> Shell<'a> {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn new_with_args<S>(program: S, args: Vec<String>) -> Shell<'a>
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/tty.rs:39:53
[INFO] [stdout]    |
[INFO] [stdout] 39 |             die!("Waiting for pid {} failed: {}\n", PID, errno());
[INFO] [stdout]    |                                                     ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tty.rs:136:22
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `passwd` does not permit being left uninitialized
[INFO] [stdout]    --> src/tty.rs:138:44
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/tty.rs:254:47
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 libc::signal(SIGCHLD, sigchld as _);
[INFO] [stdout]     |                                               ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 libc::signal(SIGCHLD, sigchld as *const () as _);
[INFO] [stdout]     |                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.36s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.17.0, winit v0.16.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr]     Checking symare v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.69s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.17.0, winit v0.16.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr] crater-edition-check: symare v0.1.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking symare v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `OsStr`
[INFO] [stdout]  --> src/tty.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ffi::{CStr, OsStr};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/tty.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/tty.rs:138:56
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OsStr`
[INFO] [stdout]  --> src/tty.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ffi::{CStr, OsStr};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/tty.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/tty.rs:138:56
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead
[INFO] [stdout]    --> src/tty.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |     builder.before_exec(move || {
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead
[INFO] [stdout]    --> src/tty.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |     builder.before_exec(move || {
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_count`
[INFO] [stdout]   --> src/main.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Ok(read_count) => {
[INFO] [stdout]    |                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_window` is never used
[INFO] [stdout]   --> src/main.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn test_window() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_should_exit` is never used
[INFO] [stdout]   --> src/tty.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn process_should_exit() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `passwd`, `uid`, `gid`, and `gecos` are never read
[INFO] [stdout]    --> src/tty.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct Passwd<'a> {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 122 |     name: &'a str,
[INFO] [stdout] 123 |     passwd: &'a str,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 124 |     uid: libc::uid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 125 |     gid: libc::gid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 126 |     gecos: &'a str,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Passwd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_args` is never used
[INFO] [stdout]   --> src/data.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> Shell<'a> {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn new_with_args<S>(program: S, args: Vec<String>) -> Shell<'a>
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/tty.rs:39:53
[INFO] [stdout]    |
[INFO] [stdout] 39 |             die!("Waiting for pid {} failed: {}\n", PID, errno());
[INFO] [stdout]    |                                                     ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tty.rs:136:22
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `passwd` does not permit being left uninitialized
[INFO] [stdout]    --> src/tty.rs:138:44
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/tty.rs:254:47
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 libc::signal(SIGCHLD, sigchld as _);
[INFO] [stdout]     |                                               ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 libc::signal(SIGCHLD, sigchld as *const () as _);
[INFO] [stdout]     |                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_count`
[INFO] [stdout]   --> src/main.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Ok(read_count) => {
[INFO] [stdout]    |                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_window` is never used
[INFO] [stdout]   --> src/main.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn test_window() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_should_exit` is never used
[INFO] [stdout]   --> src/tty.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn process_should_exit() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `passwd`, `uid`, `gid`, and `gecos` are never read
[INFO] [stdout]    --> src/tty.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct Passwd<'a> {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 122 |     name: &'a str,
[INFO] [stdout] 123 |     passwd: &'a str,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 124 |     uid: libc::uid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 125 |     gid: libc::gid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 126 |     gecos: &'a str,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Passwd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_args` is never used
[INFO] [stdout]   --> src/data.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> Shell<'a> {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn new_with_args<S>(program: S, args: Vec<String>) -> Shell<'a>
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/tty.rs:39:53
[INFO] [stdout]    |
[INFO] [stdout] 39 |             die!("Waiting for pid {} failed: {}\n", PID, errno());
[INFO] [stdout]    |                                                     ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tty.rs:136:22
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `passwd` does not permit being left uninitialized
[INFO] [stdout]    --> src/tty.rs:138:44
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/tty.rs:254:47
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 libc::signal(SIGCHLD, sigchld as _);
[INFO] [stdout]     |                                               ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 libc::signal(SIGCHLD, sigchld as *const () as _);
[INFO] [stdout]     |                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.22s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.17.0, winit v0.16.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr]     Checking symare v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/tty.rs:248:11
[INFO] [stdout]     |
[INFO] [stdout] 191 |     let mut builder = Command::new(shell.program());
[INFO] [stdout]     |         -----------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `builder` calls a custom destructor
[INFO] [stdout]     |         `builder` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 248 |     match builder.spawn() {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 272 | }
[INFO] [stdout]     | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `builder` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout]     = note: `builder` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `builder` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/process/unix/common/cstring_array.rs:79:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/tty.rs (2 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/tty.rs:39:53
[INFO] [stdout]    |
[INFO] [stdout] 39 |             die!("Waiting for pid {} failed: {}\n", PID, errno());
[INFO] [stdout]    |                                                     ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/tty.rs:248:11
[INFO] [stdout]     |
[INFO] [stdout] 191 |     let mut builder = Command::new(shell.program());
[INFO] [stdout]     |         -----------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `builder` calls a custom destructor
[INFO] [stdout]     |         `builder` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 248 |     match builder.spawn() {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 272 | }
[INFO] [stdout]     | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `builder` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout]     = note: `builder` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `builder` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/process/unix/common/cstring_array.rs:79:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/tty.rs:39:53
[INFO] [stdout]    |
[INFO] [stdout] 39 |             die!("Waiting for pid {} failed: {}\n", PID, errno());
[INFO] [stdout]    |                                                     ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.09s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.17.0, winit v0.16.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr] crater-edition-check: symare v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking symare v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `OsStr`
[INFO] [stdout]  --> src/tty.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ffi::{CStr, OsStr};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/tty.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/tty.rs:138:56
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead
[INFO] [stdout]    --> src/tty.rs:216:22
[INFO] [stdout]     |
[INFO] [stdout] 216 |     unsafe { builder.before_exec(move || {
[INFO] [stdout]     |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/tty.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     unsafe { builder.before_exec(move || {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] 217 |         // Create a new process group
[INFO] [stdout] 218 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/tty.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     unsafe { builder.before_exec(move || {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 233 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_count`
[INFO] [stdout]   --> src/main.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Ok(read_count) => {
[INFO] [stdout]    |                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OsStr`
[INFO] [stdout]  --> src/tty.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ffi::{CStr, OsStr};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_window` is never used
[INFO] [stdout]   --> src/main.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn test_window() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_should_exit` is never used
[INFO] [stdout]   --> src/tty.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn process_should_exit() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/tty.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `passwd`, `uid`, `gid`, and `gecos` are never read
[INFO] [stdout]    --> src/tty.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct Passwd<'a> {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 122 |     name: &'a str,
[INFO] [stdout] 123 |     passwd: &'a str,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 124 |     uid: libc::uid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 125 |     gid: libc::gid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 126 |     gecos: &'a str,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Passwd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_args` is never used
[INFO] [stdout]   --> src/data.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> Shell<'a> {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn new_with_args<S>(program: S, args: Vec<String>) -> Shell<'a>
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/tty.rs:39:53
[INFO] [stdout]    |
[INFO] [stdout] 39 |             die!("Waiting for pid {} failed: {}\n", PID, errno());
[INFO] [stdout]    |                                                     ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `symare` (bin "symare") due to 1 previous error; 16 warnings emitted
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tty.rs:136:22
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: the type `passwd` does not permit being left uninitialized
[INFO] [stdout]    --> src/tty.rs:138:44
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/tty.rs:255:47
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 libc::signal(SIGCHLD, sigchld as _);
[INFO] [stdout]     |                                               ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 libc::signal(SIGCHLD, sigchld as *const () as _);
[INFO] [stdout]     |                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/tty.rs:138:56
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead
[INFO] [stdout]    --> src/tty.rs:216:22
[INFO] [stdout]     |
[INFO] [stdout] 216 |     unsafe { builder.before_exec(move || {
[INFO] [stdout]     |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/tty.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     unsafe { builder.before_exec(move || {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] 217 |         // Create a new process group
[INFO] [stdout] 218 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/tty.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     unsafe { builder.before_exec(move || {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 233 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut buf: [u8; 1024] = [0; 1024];
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_count`
[INFO] [stdout]   --> src/main.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Ok(read_count) => {
[INFO] [stdout]    |                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_window` is never used
[INFO] [stdout]   --> src/main.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn test_window() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_should_exit` is never used
[INFO] [stdout]   --> src/tty.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn process_should_exit() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `passwd`, `uid`, `gid`, and `gecos` are never read
[INFO] [stdout]    --> src/tty.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct Passwd<'a> {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 122 |     name: &'a str,
[INFO] [stdout] 123 |     passwd: &'a str,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 124 |     uid: libc::uid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 125 |     gid: libc::gid_t,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 126 |     gecos: &'a str,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Passwd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_args` is never used
[INFO] [stdout]   --> src/data.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> Shell<'a> {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn new_with_args<S>(program: S, args: Vec<String>) -> Shell<'a>
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/tty.rs:39:53
[INFO] [stdout]    |
[INFO] [stdout] 39 |             die!("Waiting for pid {} failed: {}\n", PID, errno());
[INFO] [stdout]    |                                                     ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tty.rs:136:22
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `passwd` does not permit being left uninitialized
[INFO] [stdout]    --> src/tty.rs:138:44
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/tty.rs:255:47
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 libc::signal(SIGCHLD, sigchld as _);
[INFO] [stdout]     |                                               ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 libc::signal(SIGCHLD, sigchld as *const () as _);
[INFO] [stdout]     |                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `symare` (bin "symare" test) due to 1 previous error; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "31750633ea644e0498f7572fb0cef65cbf23c6b74dcc3733d77c93f894698d83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31750633ea644e0498f7572fb0cef65cbf23c6b74dcc3733d77c93f894698d83", kill_on_drop: false }`
[INFO] [stdout] 31750633ea644e0498f7572fb0cef65cbf23c6b74dcc3733d77c93f894698d83
